﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Jingxing.Models.Home
{
    public class CommentModel : LayoutModel
    {
        [Required(ErrorMessage="请输入姓名")]
        public string Name { get; set; }
        [Required(ErrorMessage = "请输入联系方式")]
        public string Contact { get; set; }
        [Required(ErrorMessage = "请输入留言内容")]
        public string Content { get; set; }
    }
}